package com.qingyun.form.internal

import com.qingyun.form.items.BaseFormItem

interface IFormDataBinding {
    /**
     * 绑定实体
     */
    fun bind(entity: Any)
    fun unbind()

    /**
     * 设置表单值
     */
    fun setFormValue(item: BaseFormItem)

    fun toMap(): Map<String, String?>

    fun toJson(): String
}